
package com.dps.omc.service;
import com.dps.omc.model.BizType;
import com.dps.omc.model.BizUnit;
import com.dps.omc.model.User;
import com.dps.common.service.IBaseService;
import com.dps.common.service.IPageService;
import com.dps.omc.dao.IUserBizRightsDAO;
import com.dps.omc.model.UserBizRights;

import java.util.List;

public interface IUserBizRightsService extends IBaseService<IUserBizRightsDAO,UserBizRights>,IPageService<IUserBizRightsDAO,UserBizRights>{

    public UserBizRights create(User user, BizUnit bizUnit, BizType bizType, Boolean mailAble, Boolean dbaFlag, User creater);

    public void create(User user, List<BizUnit> bizUnits, List<BizType> bizTypes, Boolean mailAble, Boolean dbaFlag, User creater);

    public List<UserBizRights> findUsersByUnitsAndTypes(List<String> bizUnits, List<String> bizTypes);
}